package truef.service.house.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.base.service.impl.GenericTreeManagerImpl;
import truef.house.dao.SAdressDao;
import truef.house.domain.SAdress;
import truef.service.house.service.SAdressManager;

@Service(value = "SAdressManager")
@Transactional
public class SAdressManagerImpl extends GenericTreeManagerImpl<SAdress,Long> implements SAdressManager{
	SAdressDao sadressDao;

	@Autowired
	public void setShoppingCartDao(SAdressDao sadressDao) {
		this.sadressDao = sadressDao;
		this.treeDao = this.sadressDao;
		this.dao = this.treeDao;
	}
}
